<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
 插件菜单
*/
defined('BY_JYA') or exit('error');
list($basicname)=$arguments;
$menus=array(
		array('title'=>'运营中心','fa'=>'icon-dianpu','url'=>'jy_paimerch/index/','child'=>array(
			array('title'=>'平台概况','child'=>array(
				array('url'=>'jy_paimerch/index/','title'=>'平台概况'),
				array('url'=>'core/basic.tomenus/jy_paimerch/','title'=>'功能菜单'),
				array('url'=>'core/basic.helps/jy_paimerch/','title'=>'新手手册'),
				array('url'=>'jy_paimerch/city/','title'=>'城市站列表'),
			)),
			array('title'=>'数据','child'=>array(
				array('url'=>'jy_paimerch/merchrank/','title'=>'商家排名'),
				//array('url'=>'jy_paimerch/redrank/','title'=>'红包排名'),
			)),
			array('title'=>'平台设置','child'=>array(
				array('url'=>'jy_paimerch/setting/','title'=>'平台设置'),
			)),
			array('title'=>'入口','child'=>array(
				array('url'=>'jy_paimerch/basic.module_home/cover/ac=index','title'=>'平台入口'),
			)),
		)),
		array('title'=>'商户管理','fa'=>'icon-ruzhuchenggongdapx','url'=>'jy_merch/count/','child'=>array(
			array('title'=>'商户管理','child'=>array(
					array('url'=>'jy_merch/count/','title'=>'商户概况'),
					array('url'=>'jy_merch/index/','title'=>'商户列表'),
					array('url'=>'jy_paimerch/merchpaifee/','title'=>'商户返利'),
					array('url'=>'jy_merch/cate/','title'=>'商户分类'),
					array('url'=>'jy_merch/group/','title'=>'商户分组'),
					array('url'=>'jy_merch/goods/','title'=>'商品管理'),
					array('url'=>'jy_merch/order.list/','title'=>'商户订单'),
					array('url'=>'jy_merch/order.refund/','title'=>'退款订单'),
					array('url'=>'jy_merch/yajin_log/','title'=>'押金记录'),
			)),
			array('title'=>'入驻申请','child'=>array(
					array('url'=>'jy_merch/ruzhu/','title'=>'入驻申请'),
					array('url'=>'jy_merch/basic.module_home/cover/ac=manage.login','title'=>'商户PC/手机登录'),
			)),
			array('title'=>'结算/提现','child'=>array(
				array('url'=>'jy_merch/tixian/','title'=>'结算申请'),
				array('url'=>'jy_merch/creditcash/','title'=>'提现申请'),
			)),
			array('title'=>'设置','child'=>array(
					array('url'=>'jy_merch/setting/','title'=>'基本设置'),
					array('url'=>'jy_merch/credit3/','title'=>'币赠送设置'),
					array('url'=>'jy_merch/diyfrom/','title'=>'自定义表单'),
					array('url'=>'jy_diypage/index//basicname=jy_merch','title'=>'商户DIY页面'),
					array('url'=>'jy_poster/apiposter//plugin_name=jy_merch','title'=>'商户二维码海报'),
					array('url'=>'jy_merch/fansxieyi/','title'=>'会员协议'),
					array('url'=>'jy_merch/xieyi/','title'=>'商户协议'),
					array('url'=>'core/setting.msgset/list/plugin_name=jy_merch','title'=>'消息开启设置'),
					array('url'=>'core/setting.msgtpl/list/plugin_name=jy_merch','title'=>'微信模板库'),
			)),
			array('title'=>'入口','child'=>array(
					array('url'=>'jy_merch/basic.module_home/cover/ac=register','title'=>'申请入驻'),
					array('url'=>'jy_merch/basic.module_home/cover/ac=index','title'=>'首页入口'),
					array('url'=>'jy_merch/basic.module_home/cover/ac=manage.login','title'=>'商户入口'),
					array('url'=>'jy_merch/basic.module_home/cover/ac=game','title'=>'活动入口'),
			)),
		)),
		array('title'=>'招商员','fa'=>'icon-wo1','url'=>'jy_merch/zhaoshang.index/','child'=>array(
			array('title'=>'招商员','child'=>array(
				array('url'=>'jy_merch/zhaoshang.index/','title'=>'招商概况'),
				array('url'=>'jy_merch/basic.module_home/cover/ac=zhaoshang.index','title'=>'招商入口'),
				array('url'=>'jy_merch/zhaoshang.list/','title'=>'招商员管理'),
				array('url'=>'jy_merch/zhaoshang.commission/','title'=>'佣金管理'),
				array('url'=>'jy_merch/zhaoshang.balance/','title'=>'结算管理'),
				array('url'=>'jy_merch/zhaoshang.goods/','title'=>'商品独立分佣'),
				array('url'=>'jy_merch/zhaoshang.level/','title'=>'招商员等级'),
				array('url'=>'jy_merch/zhaoshang.setting/','title'=>'基本设置'),
				array('url'=>'jy_merch/zhaoshang.page_setting/','title'=>'样式设置'),
				array('url'=>'jy_merch/zhaoshang.apply_setting/','title'=>'招商员申请页'),
			)),
		)),
		array('title'=>'资金池','fa'=>'icon-jifen','url'=>'jy_paimerch/feedata/','child'=>array(
			array('title'=>'资金池','child'=>array(
				array('url'=>'jy_paimerch/feedata/','title'=>'资金池'),
				array('url'=>'jy_paimerch/feelog/','title'=>'返利明细'),
				array('url'=>'jy_paimerch/feemianlog/','title'=>'免额明细'),
			)),
		)),
		array('title'=>'公排情况','fa'=>'icon-yuyue','url'=>'jy_paimerch/index/','child'=>array(
			array('title'=>'公排情况','child'=>array(
				array('url'=>'jy_paimerch/index/','title'=>'公排概况'),
				array('url'=>'jy_paimerch/paiorder/','title'=>'公排列表'),
				array('url'=>'jy_paimerch/pailog//type=2','title'=>'公排释放明细'),
				array('url'=>'jy_paimerch/pailog//type=0','title'=>'推荐加速明细'),
				array('url'=>'jy_paimerch/pailog//type=1','title'=>'复购加速明细'),
				array('url'=>'core/basic.oper_log/','title'=>'操作日志'),
			)),
			array('title'=>'免单出局','child'=>array(
				array('url'=>'jy_paimerch/feelog0/','title'=>'出局返余额'),
				array('url'=>'jy_paimerch/feelog3/','title'=>'出局返购物币'),
				array('url'=>'jy_paimerch/feelog1/','title'=>'出局返积分'),
			)),
		)),
		array('title'=>'自营商品','fa'=>'icon-cart1','url'=>'jy_paimerch/goods.list/','child'=>array(
			array('title'=>'自营商品','child'=>array(
				array('url'=>'jy_paimerch/goods.list/','title'=>'商品列表'),
				array('url'=>'jy_weishop/goods.verify/','title'=>'待审核'),
				array('url'=>'jy_weishop/goods.group/','title'=>'商品分类'),
				array('url'=>'jy_weishop/goods.upprice/','title'=>'批量修改价格'),
				array('url'=>'jy_weishop/goods.brand/','title'=>'品牌管理'),
				array('url'=>'jy_weishop/goods.label/','title'=>'标签管理'),
				array('url'=>'jy_weishop/goods.param/','title'=>'参数管理'),
				array('url'=>'jy_weishop/goods.basicinfo/','title'=>'固定信息'),
			)),
			array('title'=>'商品相关_Goods info','child'=>array(
				array('url'=>'jy_weishop/goods.comment/','title'=>'商品评价'),
			)),
			array('title'=>'虚拟卡密_Virtual','child'=>array(
				array('url'=>'jy_weishop/goods.virtual_temp/','title'=>'虚拟卡密'),
				array('url'=>'jy_weishop/goods.virtual_group/','title'=>'卡密分类'),
				array('url'=>'jy_weishop/goods.virtual_set/','title'=>'卡密设置'),
				array('url'=>'jy_weishop/goods.virtual_log/','title'=>'发放记录'),
			)),
		)),
		array('title'=>'活动券','fa'=>'icon-tuwenwenzhen','url'=>'jy_weishop/coupon.count/','child'=>array(
				array('title'=>'优惠券','child'=>array(
					array('url'=>'jy_weishop/coupon.count/','title'=>'优惠券概况'),
					array('url'=>'jy_weishop/coupon.list/','title'=>'全部优惠券'),
					array('url'=>'jy_weishop/coupon.goodssend/','title'=>'活动/购物送券'),
					array('url'=>'jy_weishop/coupon.sendcoupon/','title'=>'手动发放'),
					array('url'=>'jy_weishop/coupon.log/','title'=>'发放记录'),
					array('url'=>'jy_weishop/coupon.hexiaolog/','title'=>'核销记录'),
					array('url'=>'jy_weishop/coupon.group/','title'=>'分类管理'),
					array('url'=>'jy_weishop/coupon.set/','title'=>'其他设置'),
					array('url'=>'jy_weishop/basic.module_home/cover/ac=coupon.index','title'=>'优惠券入口'),
				)),
		)),
		array('title'=>'审核','fa'=>'icon-success','url'=>'jy_merch/ruzhu/','child'=>array(
				array('title'=>'审核','child'=>array(
					array('url'=>'jy_merch/ruzhu/','title'=>'商家审核'),
					array('url'=>'jy_merch/goods/','title'=>'产品审核'),
				)),
		)),
		/*array('title'=>'监管','fa'=>'icon-jifen1','url'=>'jy_paimerch/feelog0/','child'=>array(
				array('title'=>'监管','child'=>array(
					array('url'=>'jy_paimerch/feelog0/','title'=>'资金池监管'),
					array('url'=>'jy_paimerch/feelog1/','title'=>'商家监管'),
				)),
		)),*/
		array('title'=>'M系统','fa'=>'icon-listzuhe','url'=>'core/basic.plugin_perm//plugin_name=jy_paimerch','child'=>array(
			array('title'=>'操作权限','child'=>array(
				array('url'=>'core/basic.plugin_perm//plugin_name=jy_paimerch','title'=>'操作权限'),
			)),
		)),
);
return $menus;